package com.geralt.im.servercommand.impl;

import com.geralt.im.server.IMServer;
import com.geralt.im.server.IMServerClient;
import com.geralt.im.servercommand.ServerCommand;

public class StartServerCommand extends ServerCommand{

	@Override
	public String excute() {
		synchronized (IMServerClient.server) {
			if(!IMServerClient.server.isRun())
				IMServerClient.server.start();
			return"server have start";
		}
	}


}
